package zzz.model;

import org.springframework.web.multipart.MultipartFile;

public class Advertising {

	private int adId;
	private String adTitle;
	private String adMain;
	private String adPic;
	private MultipartFile adPicFile;
	
	
	public Advertising() {
		super();
	}
	public Advertising(int adId, String adTitle, String adMain, String adPic) {
		super();
		this.adId = adId;
		this.adTitle = adTitle;
		this.adMain = adMain;
		this.adPic = adPic;
	}
	@Override
	public String toString() {
		return "Advertising [adId=" + adId + ", adTitle=" + adTitle + ", adMain=" + adMain + ", adPic=" + adPic + "]";
	}
	public int getAdId() {
		return adId;
	}
	public void setAdId(int adId) {
		this.adId = adId;
	}
	public String getAdTitle() {
		return adTitle;
	}
	public void setAdTitle(String adTitle) {
		this.adTitle = adTitle;
	}
	public String getAdMain() {
		return adMain;
	}
	public void setAdMain(String adMain) {
		this.adMain = adMain;
	}
	public String getAdPic() {
		return adPic;
	}
	public void setAdPic(String adPic) {
		this.adPic = adPic;
	}
	public MultipartFile getAdPicFile() {
		return adPicFile;
	}
	public void setAdPicFile(MultipartFile adPicFile) {
		this.adPicFile = adPicFile;
	}
	
	
}
